package io.iamting93.user.dao;

import io.iamting93.user.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @author boting.guo
 * @date 2021/12/2 15:02
 */

@Mapper
public interface UserDao {

    void register(@Param("email") String email, @Param("password") String password);

    User getUser(@Param("email") String email);
}
